package cn.com.biz;

import java.util.List;

import cn.com.dao.PexaminationFormDao;
import cn.com.entity.PexaminationForm;


public class PexaminationFormBiz {
	//体检单biz文件
	private PexaminationFormDao pexaminationformdao;
	private PexaminationForm pexaminationform;
	public PexaminationFormDao getPexaminationformdao() {
		return pexaminationformdao;
	}
	public void setPexaminationformdao(PexaminationFormDao pexaminationformdao) {
		this.pexaminationformdao = pexaminationformdao;
	}
	public PexaminationForm getPexaminationform() {
		return pexaminationform;
	}
	public void setPexaminationform(PexaminationForm pexaminationform) {
		this.pexaminationform = pexaminationform;
	}
	//增加体检单biz
	public boolean addpexaminationform(PexaminationForm pexaminationform){
		boolean b=pexaminationformdao.addpexaminationform(pexaminationform);
		return b;
	}
	//删除体检单
	public boolean deletePexaminationForm(PexaminationForm pexaminationform){
		boolean b=pexaminationformdao.deletePexaminationForm(pexaminationform);
		return b;
	}
	//修改体检单
	public boolean updatePexaminationForm(PexaminationForm pexaminationform){
		boolean b=pexaminationformdao.updatePexaminationForm(pexaminationform);
		return b;
	}
	//查询体检单
	public List<PexaminationForm> selectAllPexaminationForm(){
		List<PexaminationForm> list=pexaminationformdao.selectAllPexaminationForm();
		return list;
	}
	//通过用户id查询体检单
	public List<PexaminationForm> selectPexaminationFormByid(int consumerid){
		List<PexaminationForm> list=pexaminationformdao.selectPexaminationFormByid(consumerid);
		return list;
	} 
	

/*	public List<PexaminationForm> selectpexaminationform(){
		List<PexaminationForm> list=pexaminationformdao.selectpexaminationform();
		return list;
	}*/
}
